// 路由模块化封装

import Find from "@/views/Find.vue";
import My from "@/views/My.vue";
import Friend from "@/views/Friend.vue";
import Vue from "vue";
import VueRouter from "vue-router"

Vue.use(VueRouter)

// 配置路由规则
export const router = new VueRouter({
    routes: [
        {path: "/find", component: Find},
        {path: "/my", component: My},
        {path: "/friend", component: Friend}
    ]
})